package com.cloudkinto.vo.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author zhangyy
 * @date 2020/4/28 15:17
 * @description:
 */
@Data
public class UserLoginReq implements Serializable {

    @ApiModelProperty(value = "用户账号")
    @NotBlank(message = "pls.input.account")
    private String userAccount;

    @ApiModelProperty(value = "用户密码")
    @NotBlank(message = "pls.input.password")
    private String userPassword;

    @ApiModelProperty(value = "验证码")
//    @NotBlank(message = "pls.input.verifycode")
    private String verificationCode;

//    private Long companyId;

    //    @NotBlank(message = "pls.input.key")
    private String key;

    @ApiModelProperty(value = "语言1：中文 2：日文")
//    @NotNull(message = "pls.choose.lang")
    private Integer language;

}
